# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'table.ui'
#
# Created: Fri Feb 10 10:27:23 2012
#      by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(640, 480)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tableWidget = QtGui.QTableWidget(self.centralwidget)
        self.tableWidget.setToolTip(_fromUtf8(""))
        self.tableWidget.setStatusTip(_fromUtf8(""))
        self.tableWidget.setWhatsThis(_fromUtf8(""))
        self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
        self.tableWidget.setColumnCount(3)
        self.tableWidget.setRowCount(3)
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setVerticalHeaderItem(0, item)
        self.tableWidget.verticalHeaderItem(0).setText(_fromUtf8("New Row"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setVerticalHeaderItem(1, item)
        self.tableWidget.verticalHeaderItem(1).setText(_fromUtf8("New Row"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setVerticalHeaderItem(2, item)
        self.tableWidget.verticalHeaderItem(2).setText(_fromUtf8("New Row"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(0, item)
        self.tableWidget.horizontalHeaderItem(0).setText(_fromUtf8("New Column"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(1, item)
        self.tableWidget.horizontalHeaderItem(1).setText(_fromUtf8("New Column"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(2, item)
        self.tableWidget.horizontalHeaderItem(2).setText(_fromUtf8("New Column"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setItem(0, 0, item)
        self.tableWidget.item(0, 0).setText(_fromUtf8("1"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setItem(0, 1, item)
        self.tableWidget.item(0, 1).setText(_fromUtf8("2"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setItem(0, 2, item)
        self.tableWidget.item(0, 2).setText(_fromUtf8("3"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setItem(1, 0, item)
        self.tableWidget.item(1, 0).setText(_fromUtf8("4"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setItem(1, 1, item)
        self.tableWidget.item(1, 1).setText(_fromUtf8("5"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setItem(1, 2, item)
        self.tableWidget.item(1, 2).setText(_fromUtf8("6"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setItem(2, 0, item)
        self.tableWidget.item(2, 0).setText(_fromUtf8("7"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setItem(2, 1, item)
        self.tableWidget.item(2, 1).setText(_fromUtf8("8"))
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setItem(2, 2, item)
        self.tableWidget.item(2, 2).setText(_fromUtf8("9"))
        self.verticalLayout.addWidget(self.tableWidget)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        __sortingEnabled = self.tableWidget.isSortingEnabled()
        self.tableWidget.setSortingEnabled(False)
        self.tableWidget.setSortingEnabled(__sortingEnabled)


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

